#ifndef _IO_FILE_H_
#define _IO_FILE_H_
#include "stdafx.h"
#include <iostream>
#include <fstream>
#include "Global_Tools.h"
#include "Cdiv.h"

using namespace std;

class CIoFile
{
public:
	CIoFile(void);
	~CIoFile(void);
	CHttpUrl* m_httpurl;
	BOOLEAN OutPutData( string value);
	VOID SetOutFile( LPCTSTR sFileName );
	VOID SetOutFormat( string value);
private:
	LPCTSTR m_filename;
	string m_format;
	ofstream* m_file;
	GTools* m_tools;
};
#endif